home *** CD-ROM | disk | FTP | other *** search
Wrap
// Unlockable item configuration file // Author: Christoph Brzozowski // Date : 02.02.2009 // Following attributes are supported // Type : DESK | BOOK | OBJECT // Name : string Name of the object // Level : integer Level of the object ( needed for choosing most expensive / prestigeous objects ) // Resource : string Path to the image resource / decorational object // Icon : string Path to the icon image // StayUnlocked : boolean If defined and set to true, the object stays permanently unlocked ( default value is true ) // UnlockOnStateChange : boolean If defined and set to true, the object will only be unlocked if the condition state changes from false to true ( default value is false ) // Expire : string Expiration time. After this period the object will be removed. Valid values are // NEVER ( default ) // 2WEEKS ( expires 2 weeks after aquisition ) // 4WEEKS ( expires 4 weeks after aquisition ) // SEASON ( lasts a whole season ) // // You might specify one or more conditions as well: // // BEGIN( Conditions ) // Condition1 = "TERM1", "TERM2", ... ,"TERMN" // Condition2 = "TERM1", "TERM2", ... ,"TERMN" // . // . // . // ConditionN = "TERM1", "TERM2", ... ,"TERMN" // END // // Each term is a boolean expression comparing an attribute against a constant value, or simply whether an attribute is true // A single condition is true, if all it's terms are true. The whole unlocking condition is true, if at least one the specified conditions is true. // // ATTENTION: Resource names are case sensitive !!! BEGIN( ITEMS ) //------------------------------------------------------------------------- // Desks //------------------------------------------------------------------------- BEGIN(DESK_001) Id = 1 Type = DESK Name = Level 1 Level = 1 Resource = Desk01_Poor.tga Icon = Desk01_Poor_icon.tga // Employee or club cash is less than 2 millions END BEGIN(DESK_002) Id = 2 Type = DESK Name = Level 2 Level = 2 Resource = Desk02_NotThatPoor.tga Icon = Desk02_NotThatPoor_icon.tga // Employee or club cash is more than 2 millions BEGIN( Conditions ) Condition1 = "Team.CashMillions > 2" Condition2 = "Employee.IsEmployed == 0", "Employee.CashMillions > 2" END END BEGIN(DESK_003) Id = 3 Type = DESK Name = Level 3 Level = 3 Resource = Desk03_LowBasic.tga Icon = Desk03_LowBasic_icon.tga // Employee or club cash is more than 5 millions BEGIN( Conditions ) Condition1 = "Team.CashMillions > 5" Condition2 = "Employee.IsEmployed == 0", "Employee.CashMillions > 5" END END BEGIN(DESK_004) Id = 4 Type = DESK Name = Level 4 Level = 4 Resource = Desk04_Basic.tga Icon = Desk04_Basic_icon.tga // Employee or club cash is more than 10 millions BEGIN( Conditions ) Condition1 = "Team.CashMillions > 10" Condition2 = "Employee.IsEmployed == 0", "Employee.CashMillions > 10" END END BEGIN(DESK_005) Id = 5 Type = DESK Name = Level 5 Level = 5 Resource = Desk05_FineWood.tga Icon = Desk05_FineWood_icon.tga // Employee or club cash is more than 20 millions BEGIN( Conditions ) Condition1 = "Team.CashMillions > 20" Condition2 = "Employee.IsEmployed == 0", "Employee.CashMillions > 20" END END BEGIN(DESK_006) Id = 6 Type = DESK Name = Level 6 Level = 6 Resource = Desk06_Premium.tga Icon = Desk06_Premium_icon.tga // Employee or club cash is more than 40 millions BEGIN( Conditions ) Condition1 = "Team.CashMillions > 40" Condition2 = "Employee.IsEmployed == 0", "Employee.CashMillions > 40" END END //------------------------------------------------------------------------- // Books //------------------------------------------------------------------------- BEGIN(BOOK_001) Id = 101 Type = BOOK Name = Level 1 Level = 1 Resource = Book01_Low.tga Icon = Book01_Low_icon.tga END BEGIN(BOOK_002) Id = 102 Type = BOOK Name = Level 2 Level = 2 Resource = Book02_Medium.tga Icon = Book02_Medium_icon.tga // Employee or club cash is between 10 and 50 millions BEGIN( Conditions ) Condition1 = "Team.CashMillions > 10" Condition2 = "Employee.IsEmployed == 0", "Employee.CashMillions > 10" END END BEGIN(BOOK_003) Id = 103 Type = BOOK Name = Level 3 Level = 3 Resource = Book03_Premium.tga Icon = Book03_Premium_icon.tga // Employee or club cash is more than 50 millions BEGIN( Conditions ) Condition1 = "Team.CashMillions > 50" Condition2 = "Employee.IsEmployed == 0", "Employee.CashMillions > 50" END END //------------------------------------------------------------------------- // Items //------------------------------------------------------------------------- BEGIN(ITEM_001) Id = 1001 Type = OBJECT Name = Scarf Resource = scarf END BEGIN(ITEM_002) Id = 1045 Type = OBJECT Name = Pennon Resource = desk_pennon END BEGIN(ITEM_003) Id = 1038 Type = OBJECT Name = StreamersAndConfetti Resource = desk_streamersandconfetti Expire = 4WEEKS // Title win BEGIN( Conditions ) Condition1 = "Team.IsChampion" END END BEGIN(ITEM_004) Id = 1042 Type = OBJECT Name = Pins Resource = desk_pins // Number of fans is larger than 100 thousands BEGIN( Conditions ) Condition1 = "Team.NumFans > 100000" END END BEGIN(ITEM_005) Id = 1043 Type = OBJECT Name = Cravat Resource = desk_cravat // Private cash is greater than 100000 BEGIN( Conditions ) Condition1 = "Employee.CashThousands > 100000" END END BEGIN(ITEM_006) Id = 1044 Type = OBJECT Name = PiggyBank Resource = desk_piggybank // Debts are larger than 2 millions BEGIN( Conditions ) Condition1 = "Team.CashMillions < -2" Condition2 = "Employee.CashMillions < -2" END END // BEGIN(ITEM_007) // Id = 1048 // Type = OBJECT // Name = StopWatch // Resource = desk_stopwatch // END BEGIN(ITEM_008) Id = 1049 Type = OBJECT Name = Whistle Resource = desk_whistle END BEGIN(ITEM_009) Id = 1050 Type = OBJECT Name = ShinGuards Resource = desk_shinguards END BEGIN(ITEM_010) Id = 1039 Type = OBJECT Name = Promotiongrass Resource = desk_promotiongrass Expire = SEASON // Team was promoted BEGIN( Conditions ) Condition1 = "Team.IsPromoted" END END BEGIN(ITEM_011) Id = 1041 Type = OBJECT Name = LeatherTrousers Resource = desk_leathertrousers Expire = 4WEEKS // Team is either bayern munich or team has defeated bayern munich ( uid = 1376264 ) BEGIN( Conditions ) Condition1 = "Team.UniqueTeamId == 1376264" Condition2 = "Match.OpponentUniqueTeamId == 1376264", "Game.IsGermanVersion", "Match.Won" END END BEGIN(ITEM_012) Id = 1047 Type = OBJECT Name = Paperball Resource = desk_paperball // Team is Werder Bremen BEGIN( Conditions ) Condition1 = "Team.UniqueTeamId == 1376271" END END BEGIN(ITEM_013) Id = 1011 Type = OBJECT Name = Red Lantern Resource = desk_redlantern StayUnlocked = false // First team is relegated & playing the german version BEGIN( Conditions ) Condition1 = "Team.IsRelegated", "Game.IsGermanVersion" END END BEGIN(ITEM_014) Id = 1046 Type = OBJECT Name = Woodenspoon Resource = desk_woodenspoon // First team is relegated & playing the UK version BEGIN( Conditions ) Condition1 = "Team.IsRelegated", "Game.IsUkVersion" END END BEGIN(ITEM_015) Id = 1002 Type = OBJECT Name = Water bottle Resource = desk_bottle END BEGIN(ITEM_016) Id = 1003 Type = OBJECT Name = Coffee cup Resource = desk_coffeecup // The employee has at least 500 thoushand bucks BEGIN( Conditions ) Condition1 = "Employee.CashThousands >= 500" END END BEGIN(ITEM_017) Id = 1040 Type = OBJECT Name = Candy Resource = desk_candy END BEGIN(ITEM_018) Id = 1004 Type = OBJECT Name = Fruits Resource = desk_fruits END BEGIN(ITEM_019) Id = 1006 Type = OBJECT Name = Sushi Resource = desk_sushi // The employee has at least 200 thoushand bucks BEGIN( Conditions ) Condition1 = "Employee.CashThousands >= 200" END END BEGIN(ITEM_020) Id = 1005 Type = OBJECT Name = Caviar Resource = desk_caviar // The employee has at least 1 million bucks BEGIN( Conditions ) Condition1 = "Employee.CashMillions >= 1" END END BEGIN(ITEM_021) Id = 1009 Type = OBJECT Name = Cactus Resource = desk_cactus END BEGIN(ITEM_022) Id = 1012 Type = OBJECT Name = Bonsai Resource = desk_bonsai // Manager level is above 2 BEGIN( Conditions ) Condition1 = "Employee.ManagerLevel > 2" END END BEGIN(ITEM_023) Id = 1021 Type = OBJECT Name = Bamboo Resource = desk_bamboo END BEGIN(ITEM_024) Id = 1025 Type = OBJECT Name = Pen Level 1 Level = 1 Resource = desk_ballpen // Employee or club cash is less than 1 million BEGIN( Conditions ) Condition1 = "Team.CashMillions < 1" Condition2 = "Employee.IsEmployed == 0", "Employee.CashMillions < 1" END END BEGIN(ITEM_025) Id = 1026 Type = OBJECT Name = Pen Level 2 Level = 2 Resource = desk_pen // Employee or club cash is between 1 and 5 millions BEGIN( Conditions ) Condition1 = "Team.CashMillions >= 1", "Team.CashMillions < 5" Condition2 = "Employee.IsEmployed == 0", "Employee.CashMillions >= 1", "Employee.CashMillions < 5" END END BEGIN(ITEM_026) Id = 1027 Type = OBJECT Name = Pen Level 3 Level = 3 Resource = desk_pinfeather // Employee or club cash is more than 5 millions BEGIN( Conditions ) Condition1 = "Team.CashMillions > 5" Condition2 = "Employee.IsEmployed == 0", "Employee.CashMillions > 5" END END BEGIN(ITEM_027) Id = 1031 Type = OBJECT Name = Sun glasses Resource = desk_sunglasses // Manager level is more higher than 3 BEGIN( Conditions ) Condition1 = "Employee.ManagerLevel > 3" END END BEGIN(ITEM_028) Id = 1033 Type = OBJECT Name = Glasses Resource = desk_glasses END BEGIN(ITEM_029) Id = 1029 Type = OBJECT Name = Pogo ball Resource = desk_stressball END BEGIN(ITEM_030) Id = 1028 Type = OBJECT Name = USB Stick Resource = desk_usbstick END BEGIN(ITEM_031) Id = 1032 Type = OBJECT Name = Ear phones Resource = desk_earphones END BEGIN(ITEM_032) Id = 1030 Type = OBJECT Name = Moisture cream Resource = desk_moisturecream // Manager is Adrian Wahl BEGIN( Conditions ) Condition1 = "Employee.IsAdrianWahl" END END BEGIN(ITEM_033) Id = 1018 Type = OBJECT Name = Globe Resource = desk_globe // Manager is speaking more than 2 languages fluently BEGIN( Conditions ) Condition1 = "Employee.NumSpokenLanguages > 2" END END BEGIN(ITEM_034) Id = 1019 Type = OBJECT Name = Golf ball Resource = desk_golfball // Manager's golf handicap is less than 20 BEGIN( Conditions ) Condition1 = "Employee.GolfHandicap < 20" END END BEGIN(ITEM_035) Id = 1020 Type = OBJECT Name = Golf club Resource = desk_golfclub // Manager's golf handicap is less than 10 BEGIN( Conditions ) Condition1 = "Employee.GolfHandicap < 10" END END BEGIN(ITEM_036) Id = 1016 Type = OBJECT Name = Chess Resource = desk_chess // Manager is a tactician BEGIN( Conditions ) Condition1 = "Employee.IsTactician" END END BEGIN(ITEM_037) Id = 1013 Type = OBJECT Name = Sailing yacht Resource = desk_sailingyacht // Manager passed the sailing exam BEGIN( Conditions ) Condition1 = "Employee.SailingSkill >= 5" END END BEGIN(ITEM_038) Id = 1014 Type = OBJECT Name = Ship in a Bottle Resource = desk_ship // Manager half completed the sailing course BEGIN( Conditions ) Condition1 = "Employee.SailingSkill > 2" END END BEGIN(ITEM_039) Id = 1024 Type = OBJECT Name = Zen-Garden Resource = desk_zengarden // Manager level is greater than 6 BEGIN( Conditions ) Condition1 = "Employee.ManagerLevel > 6" END END BEGIN(ITEM_040) Id = 1010 Type = OBJECT Name = Fan Resource = desk_fan StayUnlocked = false // Manager is female and we have summer BEGIN( Conditions ) Condition1 = "Employee.IsFemale", "Game.GameDateMonth >= 7", "Game.GameDateMonth <= 8" END END BEGIN(ITEM_041) Id = 1017 Type = OBJECT Name = Dinosaur Resource = desk_dinosaur // Manager is for 4 years at club ( 4 * 365 days ) BEGIN( Conditions ) Condition1 = "Team.ManagerDaysAtClub > 1460" END END BEGIN(ITEM_042) Id = 1022 Type = OBJECT Name = Castle Resource = desk_castle // Manager level is greater than 3 BEGIN( Conditions ) Condition1 = "Employee.ManagerLevel > 3" END END BEGIN(ITEM_043) Id = 1035 Type = OBJECT Name = Curry Resource = desk_curry // Manager is Adrian Curry BEGIN( Conditions ) Condition1 = "Employee.IsAdrianCurry" END END BEGIN(ITEM_044) Id = 1037 Type = OBJECT Name = Spider Resource = desk_spider // Manager level is above 5 BEGIN( Conditions ) Condition1 = "Employee.ManagerLevel > 5" END END BEGIN(ITEM_045) Id = 1036 Type = OBJECT Name = Westie Resource = desk_westie END BEGIN(ITEM_046) Id = 1034 Type = OBJECT Name = Bulldog Resource = desk_bulldog END BEGIN(ITEM_047) Id = 1023 Type = OBJECT Name = Rings Resource = desk_engagementring UnlockOnStateChange = true // Manager has married BEGIN( Conditions ) Condition1 = "Employee.IsMarried" END END BEGIN(ITEM_048) Id = 1007 Type = OBJECT Name = Santa Claus Resource = desk_santaclaus StayUnlocked = false // We have xmas BEGIN( Conditions ) Condition1 = "Game.IsChristmasWeek" END END BEGIN(ITEM_049) Id = 1008 Type = OBJECT Name = Easter Egg Resource = desk_easteregg StayUnlocked = false // We have easter BEGIN( Conditions ) Condition1 = "Game.IsEasterWeek" END END END